<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<html>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<head>
<link href="css/head/bootstrap.min.css" rel="stylesheet">
<link href="css/head/bootstrap-responsive.min.css" rel="stylesheet">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600"
        rel="stylesheet">
<link href="css/head/font-awesome.css" rel="stylesheet">
<link href="css/head/style.css" rel="stylesheet">
<link href="css/head/pages/dashboard.css" rel="stylesheet">
</head>
<body>
<div class="navbar navbar-fixed-top" ng-app="app" ng-controller="modal" ng-init="user={'name':'<sec:authentication property="principal.username"/>'}">
  <div class="navbar-inner">
    <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span
                    class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span> </a><a class="brand" href="/index"><sec:authentication property="principal.username"/> </a>
      <div class="nav-collapse">
        <ul class="nav pull-right">
          <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i
                            class="icon-cog"></i> Account <b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><a href="/settings?name=<sec:authentication property="principal.username"/>">Settings</a></li>
              <li><a href="/logout">Logout</a></li>
            </ul>
          </li>
        </ul>
      </div>
      <!--/.nav-collapse --> 
    </div>
    <!-- /container --> 
  </div>
  <!-- /navbar-inner --> 
</div>
<!-- /navbar -->
<div class="subnavbar">
  <div class="subnavbar-inner">
    <div class="container">
      <ul class="mainnav"> 
       <sec:authorize access="hasAuthority('s')"><li><a href="/index"><i class="icon-list-alt"></i><span>Dashboard</span> </a> </li></sec:authorize>
       <sec:authorize access="hasAuthority('s')"><li><a href="/reports"><i class="icon-list-alt"></i><span>Reports</span> </a> </li></sec:authorize>
        <li><a href="/guidely"><i class="icon-list-alt"></i><span>App Tour</span> </a></li>
        <li><a href="/charts"><i class="icon-list-alt"></i><span>Charts</span> </a> </li>
        <li><a href="/shortcodes"><i class="icon-list-alt"></i><span>Shortcodes</span> </a> </li>
        <li class="dropdown"><a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown"> <i class="icon-long-arrow-down"></i><span>Drops</span> <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li><a href="/icons">Icons</a></li>
            <li><a href="/faq">FAQ</a></li>
            <li><a href="/pricing">Pricing Plans</a></li>
            <li><a href="/logout">Signup</a></li>
          </ul>
        </li>
      </ul>
    </div>
    <!-- /container --> 
  </div>
  <!-- /subnavbar-inner --> 
</div>
	<!-- load js -->


	<script
		src="http://cdn.bootcss.com/angular-ui-bootstrap/0.11.2/ui-bootstrap-tpls.js"></script>

<!-- Placed at the end of the document so the pages load faster --> 
<script src="js/jquery-1.7.2.min.js"></script> 
<script src="js/excanvas.min.js"></script> 
<script src="js/chart.min.js" type="text/javascript"></script> 
<script src="js/bootstrap.js"></script>
<script language="javascript" type="text/javascript" src="js/full-calendar/fullcalendar.min.js"></script>
 
<script src="js/base.js"></script> 
<!-- Angular -->
<script src="/js/angular/angular.js"></script>
<script src="/js/angular/angular-animate/angular-animate.js"></script>
<script src="/js/angular/angular-cookies/angular-cookies.js"></script>
<script src="/js/angular/angular-resource/angular-resource.js"></script>
<script src="/js/angular/angular-sanitize/angular-sanitize.js"></script>

</body>
</html>

